/*
 * Configuracoes.java
 *
 * Created on 22 de Maio de 2007, 00:38
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.jerm.Interface;

import org.jerm.Interface.JTable_Consulta.Consulta_Principal;

import javax.swing.*;

/**
 *
 * @author 
 */
public class Consultas extends JPanel
{
    protected Principal Principal;
    protected JScrollPane JScrollPane1;
    protected Consulta_Principal Tabela;
    
    /** Creates a new instance of Configuracoes */
    public Consultas (Principal Principal)
    {
        super();
        this.Principal=Principal;
        
        this.Tabela = new Consulta_Principal(this.Principal);
        
        JScrollPane1 = new JScrollPane();
        JScrollPane1.setViewportView(this.Tabela);
        
        add(JScrollPane1);
        
    }
    
    public Consulta_Principal getTabela()
    {
        return this.Tabela;
    }
    
    public String getToolTip(){
        return "<html>Blue Wavy Line border art crew:<br>&nbsp;&nbsp;&nbsp;Bill Pauley<br>" +
                "&nbsp;&nbsp;&nbsp;Cris St. Aubyn<br>" +
                "&nbsp;&nbsp;&nbsp;Ben Wronsky<br>" +
                "&nbsp;&nbsp;&nbsp;Nathan Walrath<br>" +
                "&nbsp;&nbsp;&nbsp;Tommy Adams, special consultant</html>";
    }
}
